# def say_hello(name,age=18,hight=170):
#     print(f"hello,{name},年龄：{age},身高:{hight}")    
# say_hello("张三")
# say_hello("李四",500)

# def show_info(name,age=18,hight=170): 
#     print(f"{name}的年龄：{age},身高:{hight}")   
# show_info("gasdg",hight = 200)
# print("_______________________________")


# #求N个数之和
# # def num_add(*args):
# #     print(type(args))
# #     rst = 0
# #     for i in args:
# #         rst += i 
# #     return rst 
# # print(num_add(1,2,3,4,5,6,7,8,9,10))
# # print("_______________________________")

# # def sum_nums1(name,*args):
# #     print(name,type(name))
# #     print(args,type(args))
# #     rst = 0
# #     for i in args:
# #         rst += i 
# #     return rst
# # print(sum_nums1("张三",1,2,3,4,5,6,7,8))

# # print("_______________________________")

# # def keyword_add(**kwargs):
# #     # print(kwargs,type(kwargs))
# #     print(kwargs["age"])
# #     print(kwargs["name"])
# #     print(kwargs["hight"])
    
# # keyword_add(name = "zhangsan",age=20,hight= 180.5)

# # print("_______________________________")
# scores = [83,92,100,95,67,76]

# def average(*args):
#     print(args,type(args))
#     rst = 0
#     for i in args:
#         rst += i 
#     return rst / len(args)
# print(average(3,5,7,9))
# print(average(*scores))
# # print("_______________________________")

# def show_info(**kwargs):
#     print(kwargs,type(kwargs))

# stu = {
#     "name":"tom",
#     "age":18,
#     "score":90  
# }
# show_info(name = "abc",age = 12)
# show_info(**stu)
# # print("_______________________________")

def milk_tea_shop(kind,*arguments,**keywords):
    print(f">>老板，给我来杯：{kind}!")
    print(f">>对不起：我的{kind}卖完了！")
    for index,arg in enumerate(arguments):
        print(f"要求:{arg}")
    for key in keywords:
        print(f"{key}:{keywords[key]}")

milk_tea_shop(
    "牛奶",
    "微冰","少糖","加黑珍珠",
    addr="创维创新谷2#B栋5楼",phone="13888888888",name="张三" 
    )
        


    




